﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;

namespace jnxcLogin
{
    public class DB
    {
        static string con = ConfigurationManager.AppSettings["DB"];
        public DB()
        {
            //
            //TODO: 在此处添加构造函数逻辑
            //
        }
        public static SqlConnection createCon()
        {
            
            return new SqlConnection(con);
        }
    }
}